public class Invoker {
    private ACommand command;

    public  String call(String message){
        return command.execute(message);
    }


    public Invoker(ACommand command) {
        this.command = command;
    }

    public Invoker() {
    }

    public ACommand getCommand() {
        return command;
    }

    public void setCommand(ACommand command) {
        this.command = command;
    }
}
